#include"shm.hpp"

int main()
{
    Shm shm;
    shm.Get();
    shm.Attach();
    char* add = (char*)shm.GetAdd();
    char c = 'A';
    for(;c <= 'D';++c,++add)
    {
        *add = c;
        sleep(1);
    }
    shm.Detach();


    return 0;
}